# --------------------------------------------------------------------------------------------------------------------
# Project:             Digital Payment System (DPS)
# Website:             http://code.google.com/p/dps-x509/
# Purpose of document: Database entry for certificate
# --------------------------------------------------------------------------------------------------------------------
from google.appengine.ext import db

# --------------------------------------------------------------------------------------------------------------------
class Rate(db.Model):
  """ Database entry for token rates """
  #rateId_               = db.SelfReferenceProperty() # id of rate
  baseId_               = db.SelfReferenceProperty() # id of base certificate
  internalVal_ 			= db.TextProperty()
  lastModified_     	= db.DateTimeProperty()
  isActive_             = db.BooleanProperty() # when it is unused it becomes inactive
  
  
